import Vue from 'vue'
import Vuex from 'vuex'
// 购物车模块
import moduleCart from '@/store/cart.js'
// 用户模块
import moduleUser from '@/store/user.js'

Vue.use(Vuex)

const store = new Vuex.Store({
	modules: {
		m_cart: moduleCart,
		m_user: moduleUser
	}
})

export default store
